package cn.autowired.exam.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author cq
 * @since 2018-05-25
 */
@TableName("exam_teacher_freeTime")
public class TeacherFreeTime extends Model<TeacherFreeTime> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private Integer teacherId;
    /**
     * 0有空 1没空
     */
	private Integer time8to9;
    /**
     * 0有空 1没空
     */
	private Integer time9to10;
    /**
     * 0有空 1没空
     */
	private Integer time10to11;
    /**
     * 0有空 1没空
     */
	private Integer time11to12;
    /**
     * 0有空 1没空
     */
	private Integer time14to15;
    /**
     * 0有空 1没空
     */
	private Integer time15to16;
    /**
     * 0有空 1没空
     */
	private Integer time16to17;
	private Date freeDate;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(Integer teacherId) {
		this.teacherId = teacherId;
	}

	public Integer getTime8to9() {
		return time8to9;
	}

	public void setTime8to9(Integer time8to9) {
		this.time8to9 = time8to9;
	}

	public Integer getTime9to10() {
		return time9to10;
	}

	public void setTime9to10(Integer time9to10) {
		this.time9to10 = time9to10;
	}

	public Integer getTime10to11() {
		return time10to11;
	}

	public void setTime10to11(Integer time10to11) {
		this.time10to11 = time10to11;
	}

	public Integer getTime11to12() {
		return time11to12;
	}

	public void setTime11to12(Integer time11to12) {
		this.time11to12 = time11to12;
	}

	public Integer getTime14to15() {
		return time14to15;
	}

	public void setTime14to15(Integer time14to15) {
		this.time14to15 = time14to15;
	}

	public Integer getTime15to16() {
		return time15to16;
	}

	public void setTime15to16(Integer time15to16) {
		this.time15to16 = time15to16;
	}

	public Integer getTime16to17() {
		return time16to17;
	}

	public void setTime16to17(Integer time16to17) {
		this.time16to17 = time16to17;
	}

	public Date getFreeDate() {
		return freeDate;
	}

	public void setFreeDate(Date freeDate) {
		this.freeDate = freeDate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

public static interface Field{
		String id = "id";
		String teacherId = "teacherId";
		String time8to9 = "time8to9";
		String time9to10 = "time9to10";
		String time10to11 = "time10t11";
		String time11to12 = "time11to12";
		String time14to15 = "time14to15";
		String time15to16 = "time15to16";
		String time16to17 = "time16to17";
		String freeDate = "freeDate";
	}
}
